view helper fix and added sample to readme