build public resources
reset stage