_get_ospeed_and_baudrate environment variables fix