fixing issue with root variable in virtualworldcontroller