Fixed warn issue