fixing lookup rows