fix misc err