Removed dependency on isset() in viewProject