fix sample XCB code formatting