Fixed problem where public client source reverts on resave.