Fixed a debug error.