fixed prepublish