removal of flow comments