one more func
no more error handler, x11's errors are to broken