fixed DataUrl parsing