fix bug

sorry, I submit a old code, this is a patch