fixes to construction and view