fixed some get_available_values and get_menu