Fixed the problem when no projects are specified