Fixed issue with flux 7.1 resolves #1