fix bug

fix library bug