nice error message
fixes #1456