replace regard client with version without global require included.