remove frontend specific stuff