Add missing } in debug mode.