fix bug
JS