fixed double invoking of success or fail events