quick fix for click event