lib: fix some message format rulers