fixed core_directory