Fix BS3 error class