changed app response to return integer in production