Remove extra lines in UI