fix form in card js