Fixed an error in the debug view