finish recorder,next fix bugs