update docstring for available_version()
fix version type