leolas changes to make work QX1