recording position bug fix