Fixed type error in Build Widget template