cleaning up logs and stuff