fix second javascript-error