fixed bug with deckops.py