(Bluefox) fix crash of OWM adapter