OK, figured that my input was calling my wrapper to create nonexistent program positions instead of my wrapper to parse the mode/parameter. But I get the same result :s