fixed bug with showing cards