converted error_messages lines in all view files