Fixed Out Of Range exception on incorrect message part