fixed saving of inspection plan