remove %bad-key printf