improved error messaging for module not found