remove double "for"