Fix syncing problem when popping failed work