Fixing crash with the Flowwrench