fixed wrong header size