update spl_autoload_register() to prevent fail online