fixed: can't edit because filename is not set.