tweak cache
fix samaples