fixed bus in select code.