fixed data url bug