make preferipv4 boolean