Use cpname in sub details controller. Not sure how this flicked back