remove invalid keys from prod config stub