fix bug - ip/domain redirect