use nullptr in lib/library.cpp