fix bug where unpublished page would get published when saving