syntax fixes to get rid of compiler warnings 4