Fix view may not saved, and miss file_name() value