Fixing correctness of setGetParam