String fixes from minikom.