usando smartrep pra resize