wrapped $item in utf8_encode function to try and eliminate non utf8 characters