resolve bugs and add flow parameters in codes.