fix not exists file errors