fixed captain state diagram