fixes for restarts and proto compile