resolve uint pointer issues