fix warning log