fixed inline bug in editor