remove a duplicate line in stack1