final check and publish