remove old cuda state machine
a workaround commit