fix for stmpe lockups under X