Revert:Remove some debugging def