fix working with dash