more fiddling with the select spec to try and make it work