remove unnecesary lines in the demo snippet [ci skip]