fix no-cache mode