fix validation and net