fix challenge types API