couldn't ignore the warning anymore.
removed some debugging code