fixes warning when no form data present