fixed NXTMain