changing from page show to page init