fix refresh_only issue