click handler fix