fixed fib and moved locks to atomics
removed locks