fix bug in debug message (I am stupid)