handle removal of key fields