fixed issue with serial initilisation
fixed seriaol timeout issue