fixed problem with libraries