ensure configurable ports are integers