fix buffer overflow
Fix formatting style.