fix error in error_messages partial