fix bug #490