add prepublish script to avoid publishing errors