Added tolerance to autorefresh