Removed some of ref varable set