fixed duplicating boolean published in db