debug info working properly