fix method argument error