fixed pointer bug that caused client data to not be updated