Fix local_cache bug
Fix pyini bug