fixed close parenthesis bug
Fixed delete empty list bug