show public state in view