fix some method type