Fixed bug in recorder
Merge pull request #37 from jyek/master

Fixed bug in recorder