QEX: rm unused function