Multiple Spark Core issue fixed, input msg is handled properly

Multiple Spark Core issue fixed, input msg is handled properly