fixed some deck parsing bugs