fixed creating cards