[dash] fixed #403, fixed #365