Fixed error not updated here