error message class fixed