some cleanup in HG projs