fix bug to use wrong method