fix port binding error