fix #19 add dispatcher to view scope