base compiler fixes