Fixed error for empty IP

Changed path for root user