added type info in debug
added type info in debug