enhance debug