changed sizeof bug