fix build failed because of missing version