merge lib/base