getPlan fix