updated many views for improved foundation compatibility