Fixed selector db access