delete lines by key has been implemented