fixed bug warning