cleaning up variables