Avoid useless refreshes