better control diff, code is not used

This reverts commit ca06af93c95a9c266ed64eeb87c799a3da59464a.