Debug: guard some code