reset stage
build public resources