Fixed bug in parsing of init message