Fixing event bubling, emiting instead of triggering success/error events