fixed unsized param bug