correcting parts query