minor fix to selection