Errors are removed

Just an addition of equal sign in isvalid_ip function and now it works for all