fix small bugs and re-train