fix some Wformat warnings