fix HW errors