resolve initial-file-not-found&exit issue