removed render duplication