removal of multiple debug.log statements