fixed minor problem with the commodies_select code