fixed doorcontrolstatediagram