removing lingering log variable