Saved mother's px and fixed clustering bug