fix autoload_paths engine bug