Fix pull method error