probably fixed issue with ugly refreshing