fixed error caused by loosing the models of one page when loading the next page
trying to invoke tokenInput on view load