bug fix

fix the bug that causes the image parser to fail.
should convert strings to unicode before parsing it with Bs4