fix library problem