edit mode issue fixed