Remove useless fields