Fixed issue with modem init