printf style format strings warning fixes