debugging registry problems / encoding related