case sensitivity issues with nodeName hack