fix some compiler string formatting warnings