fixed wrong eventListener