Fix warn issue