fix controller response when exception raise