missing } fixed