fixed namespace error in load_data and load_library