syntax fixes to make things run