removing extrastatics