fixing issues with instance selects