handling sll bug and editing exception