Delete unnecessary variables