Fixed bugs with transition action