fix multimodel thread-safety check