evaluate projectId for null and undefined