reverted variables to original value