remove dispatch event because of loop