fixed smart editor