fix xcb sample