fix bug

fix bug #489