fix : pass build on thread safe mode