Remove unexpected errors for making thumbnails

Possible spot for improvement later on