mark head flags at beginning of warps - doesn't quite fix problem