Fiexed bug in library setting