cleanup frontend