fix synchronize on a non final lock