added resume to trigger end event properly (0.10 fix)?