Fix delete flowstate