Ignore "invalid" format attributes in -w mode
Cleaned up format warnings and pre-check guard