Fixing reset function reference.