fix thumbnail asset detection