fixed syntax errors in object