implemented use of latches for exclusive fix()