corrected data passing from page to page via transitionToPage