correcting internal calls