Fix name typo and insert transition name into transitions