fixed no-refresh-unit bug