fixes in examples controllers and view