fixed publish period error