fixed nil error for projects spec