fix up size prototype problem