Event 'finished' no longer valid #18

The fix relates to the issue #18.