fixing faked error messages to match the array format