bug fix pole undifined by refresh client