removed unused debug variable