fix bug causing lib to not be created