fix deck id type