fix card pos bug