error class fixed