fix a bug of "hasEventListener"
button complete