BUG fixwd about runtime error.