fixed registration of $prerestore/$postrestore

also bump