[finish #42916489] fix the firefox red bar bug; always attach hidden class to empty errors