Fixed error parsing