fix bakery crash when load image fails