Simple fix to the module_exist method