fix a similar sync subscribe problem with docs