fix for libs