clean up console.debug calls