fixing bug related to rendr@0.3.4 & globals