some frontend cleanup