null checking for form dump