Fixed IP check