Minor fixes in view files