clean debug method for 10.10