forward rewind function bugfix