X11 added error returns