fixed REST crash
fixed msgID fuckup