fix REST routes; add default value to select