fixing sql for split cards.