previous commit unexpected token fix