remove unused statements