fix bug244