fix "undefine offset" error frmo crumb head