fix keyword repo deleting + add debug log
fix learn