remove usgaes of module_exists and some debug var_dumps