updated error with modules