fixed option click event