Cleanup frontend