Remove redundent error msgs.