fixing bug with shift select.