fixed legacy issues with views