remove unnecessary select()