allow headerRow offset and cleanup