Fixed 2 bugs

1/ https://github.com/HABduino/HABduino/issues/4
2/ https://github.com/HABduino/HABduino/issues/5