fix validation of values of port id and other