remove the unused statements