fix some comiper issue