square root behaves strange