fixed typo on old ip variable resfresh.