fix library import