fixes to wflow