fixed empty selection