fixed bug in working dir lib