add version argument
fix version support