if nothing has to be done if there are no projects in the list remove the empty if block