Auto background substraction security check