fix some compile err