clean before deploy
use animation frame