fix some compile warn