fix delete stages