modify client version logic