fixed some further issues with the select spec