Fixed issue when save/publish is disabled