fixed issue where results were not logging