fix regression on temporary storage
fix refresh after maintenance