fix bug #489