debug enhancement