Crediting Rob for his patch.