fix condition where nil comments