bug fix related to 0 transitions