fix for improper case being passed to program