Removed sync from prepare