Fixed crash after start of AP mode