fixed errors_controller issue with integer