fix bug that port type was wrong(list() -> integer)