cleanups, lib file