removes unused statement