Fix minor flow issue