Fixing fatal error.
Fix fatal error on save form.