Fixed error class