fix thumbnail formatting