adding fix for port range