this appears to be working now and I DON'T KNOW WHY