add missing {} replacement in log statement