repaire some bugs