quick patch to resolve encoding issue