modify conf and fixbug