Problem with SM130 and Arduino UNO

You need to start with telling us which version of the IDE you are using.

    //flushing of buffer is required
    Serial.flush();

Horsecrap!