Fix missed response return statement and smarty renderer