fix some compile error. NOT FINISH