bug fix: merging transitions may lead to problems-comment added on the method