Fix `get_cached()` bug
Fix process_files in generic add and edit functions bug