remove redundant self