FIxing some declaration in event listener in zebraenhance