fix card moving