fix object header guessing