fix lib setting