fixing exception message