error messages should be arrays