fix flow memory units