fixed moonlight madness startup check code