removing grid references