fixed still fails
Merge branch 'master' of https://github.com/ruw/Distributed-Systems-Projects
fix race condition