fixed version of melon for click events.