Fix port API