api thumbnails handler error fix