fix strange caching error
fixed silly race condition for keyed selectors