removing TTPtr casting for TTObjectPtr when storing it  into a value