Fixing ref issue