fix warning by miss type for cast.