fixed bug that was introduced while working with the view dispatcher helper