Fix deleting filename in save action