add generate pv id in app init