tested version 5.0
better error message
tested version 5.0