remove all frontend related elements