improving exception message