remove some random end