changed description a little and using another exception for better compability with python2