python3 fixes
add flush_cache