fixed selected values for empty string or 0