Give correct parameter to method call instead of default value