reduced buffer in string foematting function to 28 bytes from 128.