reset to initial state qpro and index