fixes unnecesary initialization when there's no thumbnail