Fixed error from transition