removed error from cards stuff