bug fixes in playback functions