Fixed empty form submission