add the after render
Improve the dist