remove necessary of get version

Signed-off-by: xiehuc <xiehuc@gmail.com>