revert flowtype