proto rebuild