fix load bugs and find more bugd