fix empty url image display issue