corrected a sync error that has been bothering me