attempt to fix bug with py3 strings