Fixing path saving.