Fixes bug from debug code.