reference name was failing on capital letters