fixed blank image bug