bug fix- formatting