fix cache file permissions
fix action redirects