fixes thumbnail photo not showing after search