fix err compare and rename ErrReqEpochMismatch