fix own_xmain?