Fix editor filename bug