changed some uints to hpuints