Bugfix in getting value of parameter
Method getting opposite parameter