fixed lib error