Remove duplicate tail [fix #47]