Fix error transition
Update build