Fix 404 when save configuration.