fix libraryHome bug