fix nomethod error in show_library