removed duplicated render