Fix create-reference