Fixing debug bug.