Fixed the traceback issue.