workaround for flow bug