minor compiler fixes relating to curve type