updated error message. fixes #38