finalsamfile header, err issue