remove redundant eb flag