make exception message more precise