fixed empty return value in selection