[Google] clean code
[Google] Fix synchronized algorithms