verified 3.5 compatibility
added qx 3.5 compatibility