Fixed sync entry bug
Fixed unlocked offline flag