remove obsolete fields from dummy sql