format out bugs in the ui