xmod caused the whole thing to hang commenting out