fix stage constants