remove lwip for platform compatibility; fix indent error