Fixing bugs with delete sync action