Fixed bug on playback at the end#