cleaning up frontend UI