remove dangling ,