sizeof reference error