fix bug with saving transitions