rename errmsg to errsym.