Fix bug for projects without folders