fix thumbnail fetching