added a minimum client version check