Fixed errors with host flows