fixed error in version return