fixes types for program options