fix library poi, fix bug