before remove pos import_app, view_app