cleaning up frontend