fix baselibs