fixed sizeof call