selection from up to down bug fix