fix dependencie thread_safe