Clean unnecessary variables