fixed diplay formatting bug