init for views_calc custom patch

init for views_calc custom patch