ctor compilation fixes