box preview  detector fix