bug fix for method argument