fix relative image url bug