fixed a bug that controls not removing eventresolver listener once disabled;