fix issue with thumbnail parsing