finish check port parse