Corrected an issue in the main loop which prevented some members of Flow to be modified permanently