fixed bug formatting