remove static elements