fix some sizeof->strlen's