Prune unnecessary line