solve 'unnecessary refreshes' fix #15