finally fixed libraries