silly ptr fixes