Removed debug variable

removed global variable left over from debugging