bind view accord to config