bugfix - detail hash wasn't getting recomputed when we change the header.