fix method ambiguous bug