improve FilePathEditor