Fixed object error message helper