fixes some bugs about lib importing
Merge pull request #1 from nejdetckenobi/master

fixes some bugs about lib importing