Fix bug when building clientData manager