Fix reference to debug instead of debug?