Unused variables deletion