fixed syntax errors in lib