minor fixes in view