Prevent bug on log