remove unnecessary operation