fixed form submit null error