fix a bug when loading user lib module