hope to avoid error  in publish