changed the way v6 compat is implemented, used version detection instead of an argument