get rid of deprecation warning for load_once_paths and use autoload_once_paths instead