fixed bug to prevent STD_DECK from being changed