make select-all work