Improve invalid transition message