Clearing unused variables