Bug fix and model correction for sync calculation