fix unnecessary effect