improved debug info