syntax fixes for cfg files