fix addEventListener hidden problem