fix some compile error no finish