sizeof was not up to date