fixed checkIP