correct some old bug