fix no logs case