lit editing bug fix