fixing assertion selects