Fix getProject definition