clearing inputs when new card is shown