fix bug for projects without children