bug fix(0 selected error)