modify client generate