fix publication is_temp field value