fix gcc format security errors