adding try-catch for weird unicode errors