improved handling of non utf-8 strings a little
improved handling of non utf-8 strings a little
fixed disabling of modules