Fixed Syntax errors

Fixed some silly errors, next time I should remember to check for those.