fixed widget not defiend in view templates