fixed typo on event binding