Minor change in Controller onInvalidMessage(String str)