fix according to jslint