fix issue in twitter image api
fix issue in twitter image api

This was causing "Can't render headers after they are sent to the
client" issues.

pol-is/polisServer,pol-is/polisServer,pol-is/polisServer