Fix error: expected ‘}’ at end of input