Syntax fixes to compile