adds conditional offset for fixed header.