fixed cache window crash
fixed cache window auto-size