fix for ios click event