use form library to restart