fix thumbnail error