fixed all remaining ANSI compliance warnings