Fixed bug in custom woven_wrap header code