Fix clean build bug.
Add clean cache.
Add reset after build.