fix globals in view [fix #48238383]