ref #24 improve error message

closes #24 improve error message