returns invalid when 0 is selected