prevent saving same procedure twice