code fixes

syntax error fixes