Code cleanup. Rename debug variable.