Added nil checking to projects