fix card click