removing uselles fields