fix some compline errors