deleting last line of stam