fixed bug in lib dependency