minor change of page transition and parameter passing