fixed multiple event listeners in controllers