handle initial value of tags