Fixing lib error