better version of select disable