fix compatibility with dash