Prevent bug