fix client require ref