fix stage span cache