Fix data format warnings

Fix a few warnings related data format, in debug code