seem to have fixed select()