remove statement with no effect