Fixed typo reference to non-existent el var.

Fixed typo of elem as el.