fixed bug in lib