Remove useless keys