clean up frontend